﻿using System;

namespace WizardEngine.Tests.Common
{
    using WizardEngine.Core;

    /// <summary>
    /// Custom flow state for testing purposes. 
    /// </summary>
    public class MockFlowState : FlowState
    {
        public int Age { get; set; }

        /// <summary>
        /// Creates a new object that is a copy of the current instance.
        /// </summary>
        /// <returns>
        /// A new object that is a copy of this instance.
        /// </returns>
        /// <filterpriority>2</filterpriority>
        public override object Clone()
        {
            return new MockFlowState {CurrentStep = this.CurrentStep, Age = this.Age};
        }
    }
}
